/*
 * @Description: 
 * @Date: 2020-12-21 15:12:59
 * @LastEditors: lother
 * @LastEditTime: 2020-12-28 10:56:41
 * @FilePath: \AccountOpening-H5\src\api\allPage.js
 */
import request from '@/utils/request'

/**
 * @description: 开户准备
 * @param {*} data
 * @return {*}
 */
export function ready(data) {
  return request({
    url: '/open/index',
    method: 'get',
    params:data
  })
}
/**
 * @description: 设置类型 账号
 * @param {*} data
 * @return {*}
 */
export function preSubmit(data) {
  return request({
    url: '/open/preSubmit',
    method: 'post',
    data
  })
}

/**
 * @description: 核实身份跳转之前的判断
 * @param {*} data
 * @return {*}
 */
export function identity(data) {
  return request({
    url: '/open/identity',
    method: 'post',
    data
  })
}

/**
 * @description:  网上开户银行卡列表
 * @param {*} data
 * @return {*}
 */
export function blank() {
  return request({
    url: '/open/blank',
    method: 'get',
  })
}

/**
 * @description: 现场开户现场列表
 * @param {*}
 * @return {*}
 */
export function scenes() {
  return request({
    url: '/open/scenes',
    method: 'get',
  })
}
/**
 * @description:  审核 
 * @param {*}
 * @return {*}
 */
export function statusGet() {
  return request({
    url: '/open/status',
    method: 'get',
  })
}
